import QtQuick 2.12
import QtQuick.Window 2.12
import MyUIPlugin 1.0
//import SeakySimplePlugin 1.0



MyWindow {
    id: window
    visible: true
    minimumWidth: 640
    minimumHeight: 480
    title: "Hello World"
    color: "transparent"
    //mytop: setting.top

    Row {
        id: row
        width: 200
        height: 300

        MyTestButton {
            id: myTestButton
            text: "red"
            onClicked: {
                ThemePlugin.primaryColor = "red"
            }
        }

        MyTestButton {
            id: myTestButton1
            text: "blue"
            onClicked: {
                ThemePlugin.primaryColor = "blue"
            }
        }

        Rectangle {
            id: rectangle
            width: 200
            height: 200
            color: ThemePlugin.primaryColor
            border.color: ThemePlugin.primaryColor
        }
    }



    //    MySimpleRec{
    //        id :rec
    //    }
}

/*##^##
Designer {
    D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
